/*
 * Copyright (c) 2017, www.zm0618.com All Rights Reserved..
 */

package com.light.hessian.provider.slot;

import com.light.hessian.remoting.client.balance.Balance;
import com.light.hessian.provider.config.ProviderInfo;

/**
 * Created by zhaojun on 2017/02/16.
 */
public class ProviderRunStatus implements Cloneable{
    private long startTime;
    private long endTime;
    private Balance balance;

    private ProviderInfo providerInfo;


    public long getStartTime() {
        return startTime;
    }

    public void setStartTime(long startTime) {
        this.startTime = startTime;
    }

    public long getEndTime() {
        return endTime;
    }

    public void setEndTime(long endTime) {
        this.endTime = endTime;
    }

    public ProviderInfo getProviderInfo() {
        return providerInfo;
    }

    public void setProviderInfo(ProviderInfo providerInfo) {
        this.providerInfo = providerInfo;
    }

    public Balance getBalance() {
        return balance;
    }

    public void setBalance(Balance balance) {
        this.balance = balance;
    }

    @Override
    public ProviderRunStatus clone() {
        try {
            return(ProviderRunStatus) super.clone();
        } catch (CloneNotSupportedException e) {
            e.printStackTrace();
        }
        return null;
    }
}
